package pt.iscte.pcd.project.exceptions;

public class FileAlreadyExistsException extends Exception {

	private static final long serialVersionUID = 1L;
	private String exceptionName = "FILE ALREADY EXISTS! - ";
	private String fileName;

	public FileAlreadyExistsException(String fileName) {
		this.setExceptionName(exceptionName);
		this.setFileName(fileName);
		this.setExceptionName(this.getExceptionName().concat(fileName));
	}

	public String getExceptionName() {
		return exceptionName;
	}

	public void setExceptionName(String exceptionName) {
		this.exceptionName = exceptionName;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
}
